export default [
    {
        path:"/regist",
        name:"regist",
        component: ()=>import('@/components/register.vue')
    },
    {
        path:"/login",
        name:"login",
        component:()=>import("@/components/login.vue")
    },
    {
        path: "/home",
        name:"home",
        component: ()=>import('@/components/home.vue')
    },
    // 重定向:使访问8080时直接跳转到home首页
    {
        path: "*",
        redirect: "/regist"
    }
]